
<template>
  <div>
    <Header/>
    <router-view></router-view>
    <Footer v-if='!$route.meta.isHidden'/>
  </div>
</template>

<script>
import Header from './component/Header'
import Footer from './component/Footer'
import {mapActions} from 'vuex'
export default {
  name: "App",
  components: {
    Header,
    Footer
  },
  mounted() {
    //初始化发送三级列表请求
    this.getCategoryList();
  },
  methods: {
    ...mapActions("category", ["getCategoryList"]),
  },
  
};
</script>
    

<style scoped>

</style>

